import type { AppOp } from '@/core/app'
import App from './App.vue'
import router from './router'
import { req } from '@/core/request/base-request'
import config from '@/config'
import '@/assets/style/main.less'
let op = { component: App, dom: '#app', router, ui: 'element-ui' } as AppOp
req.init({ ctx: config })
async function start() {
  let { createApp } = await import('@/core/app')
  const app = createApp(op)
}
window.log = console.log.bind(console)
start()
